
#ifndef intToStr_h
#define intToStr_h

#include <string>
#include <sstream>

/**
 * Template to convert integer and double into string
 *
 * @param	integer	value to convert
 *
 * @return	string	value as string
 */
template<class T> std::string intToStr(T s) {
	std::ostringstream ostr;
	ostr << s;
	return(ostr.str());
}

#endif
